<?php

use backend\models\MallOrder;
use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\models\MallOrder */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="mall-order-form">

    <?php $form = ActiveForm::begin(); ?>

<!--    --><?//= $form->field($model, 'mid')->textInput() ?>

<!--    --><?//= $form->field($model, 'uid')->textInput() ?>

<!--    --><?//= $form->field($model, 'openid')->textInput(['maxlength' => true]) ?>

<!--    --><?//= $form->field($model, 'out_trade_no')->textInput(['maxlength' => true]) ?>

<!--    --><?//= $form->field($model, 'total_fee')->textInput(['maxlength' => true]) ?>

<!--    --><?//= $form->field($model, 'amount')->textInput(['maxlength' => true]) ?>

<!--    --><?//= $form->field($model, 'logistic_fee')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'phone')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'address')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'logistics')->textInput(['maxlength' => true]) ?>

<!--    --><?//= $form->field($model, 'discount')->textInput(['maxlength' => true]) ?>

<!--    --><?//= $form->field($model, 'recharge')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'order_num')->textInput(['maxlength' => true]) ?>

<!--    --><?//= $form->field($model, 'create_time')->textInput() ?>

    <?= $form->field($model, 'status')->dropDownList(MallOrder::attributeValue()['status']) ?>

    <div class="form-group">
        <?= Html::submitButton('Save', ['class' => 'btn btn-success']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
